{include file="common/header.tpl"}    
    <div id="vfriendContainer">
        <div id="mainContent3C">
            <div class="vfriendContainer3C">
                <div class="vfriendContent3C">
                	<div class="leftCol">  
                    	{include file="place/box-navigation.tpl"}               	
                    </div>
                    <div class="rightCol noBg">
                    	<div class="boxAction">
                        	<ul>
                            	{if $row.timage < $smarty.const.PLACE_IMG_LIMIT}
                                    <li>
                                        <a href="{if $AppUI->id > 0}javascript:uiImage({$row.placeid});{else}{$smarty.const.LINK_INDEX_LOGIN}{/if}"><img src="{$smarty.const.HOST_STATICS}img/btn/insert-image.gif" alt="" width="101" height="26" border="0" /></a>
                                    </li>
                                {/if}
                                <li>
                                	<a href="{if $AppUI->id > 0}javascript:likePlace({$row.placeid});{else}{$smarty.const.LINK_INDEX_LOGIN}{/if}"><img src="{$smarty.const.HOST_STATICS}img/btn/like.jpg" alt="" width="73" height="26" border="0" /></a>                            	
                              	</li>
                                {if $intHasComment <=0}
                                    <li id="btnRating">
                                        <a href="{if $AppUI->id > 0}javascript:uiRating({$row.placeid});{else}{$smarty.const.LINK_INDEX_LOGIN}{/if}"><img src="{$smarty.const.HOST_STATICS}img/btn/rating.gif" alt="" width="101" height="26" border="0" /></a>                            	
                                    </li> 
                                {/if}                              	
                            </ul>
                            {if $AppUI->id == $row.userid && $AppUI->id > 0}
                                 <div class="last"><a href="{link_edit_place placeid=$row.placeid title=$row.name}"><img src="{$smarty.const.HOST_STATICS}img/btn/place-edit.gif" alt="" width="101" height="26" border="0" /></a></div>
                            {else}
                                <div class="last"><a href="{if $AppUI->id > 0}javascript:report(0,{$row.placeid},8);{else}{$smarty.const.LINK_INDEX_LOGIN}{/if}"><img src="{$smarty.const.HOST_STATICS}img/btn/report.gif" alt="" width="101" height="26" border="0" /></a></div>
                            {/if}
                        </div>  
                        <div class="boxInfo">
                        	<div class="srating">{include file="place/box-rating.tpl"}</div>
                        	<h2>{$row.name}</h2>
                            <h3>{$row.addr}, {$row.district_name}, {$row.province_name}</h3>
                        </div> 
                        <div class="boxDetail">
                            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                <tbody>
                                    <tr>
                                        <td class="img" onmouseover="javascript:onMouseOverForImgInfo();" onmouseout="javascript:onMouseOutForImgInfo();" align="center">{include file="place/box-image-full.tpl"}</td>
                                        <td class="hasBg" rowspan="2">
                                        	<div id="sComment">
                                        		{include file="place/box-comment.tpl"}
                                            </div>
                                        </td>
                                    </tr>                                    
                                    <tr>
                                        <td class="slideshow">
                                            {include file="place/box-image.tpl"}
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                      	</div>                 
                   	</div>
               	</div>
            </div>
        </div>
    </div>      
{include file="common/footer.tpl"}
